The Dreamweaver JavaScript API > Assets panel functions > dreamweaver.assetPalette.copyToSite()

 

dreamweaver.assetPalette.copyToSite()

Availability

Dreamweaver 4.0

Description

Copies selected elements to another site and puts them in that site's Favorites list. If the elements are files (other than colors or URLs), the actual file is copied into that site.

Arguments

targetSite

targetSite is the name of the target site, as returned from the site.getSites() call.

Returns

Nothing.